home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / comm / www / HTMLDate.readme < prev    next >
Text File  |  1997-09-05  |  3KB  |  75 lines

  1. Short:    Update date in HTML with GoldED (V1.5)
  2. Author:   roy@ebrown.demon.co.uk (Roy E Brown)
  3. Uploader: Author
  4. Version:  V1.5
  5. Type:     comm/www
  6. Requires: GoldED V4+
  7.  
  8. I was always forgetting to change the 'Last revised' date each time I updated my
  9. WWW pages. So I wrote this script.
  10.  
  11. HTMLDate.ged looks for a user-defined string (default 'Last revised' - can be
  12. changed), followed by a 3 or 4 word date string ('26th January 1997' or 'Monday,
  13. 31 March 1997'). It then deletes the existing date and inserts the current date.
  14.  
  15. It can be added as a button on GoldED's WWW toolbar.
  16.  
  17. History
  18. ~~~~~~~
  19. V1.5  Fixed problem of unwanted spaces before new date string - thanks to
  20.       Gregor B. Rosenauer (aka Rosso) for this simple fix.
  21.  
  22.       You can now surround the date portion of the string with as many HTML
  23.       style tags as you like. Again, thanks to Rosso.
  24.  
  25.       The user defined string ("Last revised:") can now be of any (reasonable)
  26.       length, and is case insensitive.
  27.  
  28.       Correct operation of date insertion if 'EXCLUDE CURSOR' is checked on.
  29.       (Thanks again to Rosso for the enlightenment on this subject)
  30.  
  31.       Tidied up the code a little.
  32.  
  33. V1.4  Added checking for a non-existant revision date. If 'Last revision' (or
  34.       whatever you have set for the 'Str' variable) is not found, then the user
  35.       will be informed via a suitable requester.
  36.  
  37. V1.3  The script now accepts the date in 2 formats. There are now 2 variables to
  38.       be set at the beginning of the script. See the script header for full
  39.       details.
  40.  
  41. V1.2  Revised the method of reading the current date. The script now uses the
  42.       GoldED internal DATE variable. The user will need to set the correct
  43.       date style within the preferences of GoldED. See script for details.
  44.  
  45. V1.1  Removed the leading '0' for single digit days.
  46.  
  47. V1.0  Initial release
  48.  
  49. See the script header for full details.
  50.  
  51. Any comments or suggestions via EMail please.
  52.  
  53.  
  54.  
  55.  
  56.  
  57. Cheers,
  58. --
  59. *Roy E Brown* |  A4000 OS3.1  | 38Mb RAM  | MFC III  | Thor 2.5 Elysium |
  60.  Doncaster  | CyberStorm II | 1.28Gb HD | ZIP 100  | Miami 2.1c |
  61.   England   |  68040/40MHz  | 2x CDROM  | USR V34+ | Team AMIGA |
  62.     UK      |  Picasso IV   |   http://www.ebrown.demon.co.uk   |
  63. --
  64. Scrute the inscrutable; eff the ineffable.
  65.  
  66.  
  67. ============================= Archive contents =============================
  68.  
  69. Original  Packed Ratio    Date     Time    Name
  70. -------- ------- ----- --------- --------  -------------
  71.     4511    1925 57.3% 22-Jul-97 19:43:56  HTMLDate.ged
  72.     1938    1003 48.2% 22-Jul-97 19:49:48  HTMLDate.readme
  73. -------- ------- ----- --------- --------
  74.     6449    2928 54.5% 09-Aug-97 04:48:24   2 files
  75.